.class Lrexsee/core/browser/RexseeUrl$2$1;
.super Ljava/lang/Thread;
.source "RexseeUrl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/browser/RexseeUrl$2;->run(Landroid/content/Context;Lrexsee/core/browser/Browser;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lrexsee/core/browser/RexseeUrl$2;

.field private final synthetic val$browser:Lrexsee/core/browser/Browser;

.field private final synthetic val$url:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/core/browser/RexseeUrl$2;Ljava/lang/String;Lrexsee/core/browser/Browser;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/browser/RexseeUrl$2$1;->this$1:Lrexsee/core/browser/RexseeUrl$2;

    iput-object p2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$url:Ljava/lang/String;

    iput-object p3, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$browser:Lrexsee/core/browser/Browser;

    .line 102
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 105
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->this$1:Lrexsee/core/browser/RexseeUrl$2;

    # getter for: Lrexsee/core/browser/RexseeUrl$2;->this$0:Lrexsee/core/browser/RexseeUrl;
    invoke-static {v2}, Lrexsee/core/browser/RexseeUrl$2;->access$0(Lrexsee/core/browser/RexseeUrl$2;)Lrexsee/core/browser/RexseeUrl;

    move-result-object v2

    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$url:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lrexsee/core/browser/RexseeUrl;->getContent(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 106
    .local v0, "code":Ljava/lang/String;
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

    sget-object v3, Lrexsee/core/lang/RexseeLanguage;->PROGRESS_ONGOING:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lrexsee/core/progress/RexseeProgressDialog;->show(Ljava/lang/String;)V

    .line 107
    const-string v2, "[Exception]"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 108
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

    invoke-virtual {v2}, Lrexsee/core/progress/RexseeProgressDialog;->hide()V

    .line 109
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl$2$1;->this$1:Lrexsee/core/browser/RexseeUrl$2;

    # getter for: Lrexsee/core/browser/RexseeUrl$2;->this$0:Lrexsee/core/browser/RexseeUrl;
    invoke-static {v3}, Lrexsee/core/browser/RexseeUrl$2;->access$0(Lrexsee/core/browser/RexseeUrl$2;)Lrexsee/core/browser/RexseeUrl;

    move-result-object v3

    invoke-virtual {v3}, Lrexsee/core/browser/RexseeUrl;->getInterfaceName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 114
    :goto_0
    return-void

    .line 111
    :cond_0
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->this$1:Lrexsee/core/browser/RexseeUrl$2;

    # getter for: Lrexsee/core/browser/RexseeUrl$2;->this$0:Lrexsee/core/browser/RexseeUrl;
    invoke-static {v2}, Lrexsee/core/browser/RexseeUrl$2;->access$0(Lrexsee/core/browser/RexseeUrl$2;)Lrexsee/core/browser/RexseeUrl;

    move-result-object v2

    iget-object v3, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$url:Ljava/lang/String;

    # invokes: Lrexsee/core/browser/RexseeUrl;->formatXmlFile_(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    invoke-static {v2, v3, v0}, Lrexsee/core/browser/RexseeUrl;->access$0(Lrexsee/core/browser/RexseeUrl;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 112
    .local v1, "formatedCode":Ljava/lang/String;
    iget-object v2, p0, Lrexsee/core/browser/RexseeUrl$2$1;->val$browser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    invoke-virtual {v2, v1}, Lrexsee/core/browser/RexseeBrowser;->loadHTMLWithoutHistory(Ljava/lang/String;)V

    goto :goto_0
.end method
